#{extends 'main.html' /}
#{set title:'Invite a User' /}
<script type = "text/javascript">
function confirmation() {
	
	alert('Invitation Has Been Sent!!!');
}
</script>

<form action = "@{Users.inviteToEntity()}"   method="GET">

<input type = "hidden" name = "senderId" value = ${InviterId}>
User ID 	: <input type = "text" name = "toBeInvitedId"><br><br>
Date 		: <input type = "text" name = "date"><br><br>
Entity ID   : <input type = "text" name = "entityId"><br><br>

 <input type = "submit" value = "Invite" onClick = "confirmation()">

</form>